﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Default.master" AutoEventWireup="true"
    CodeBehind="Share.aspx.cs" Inherits="AUV5.Web.Pages.Share" ClientIDMode="Static" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/!js/share.js" type="text/javascript"></script>
    <style type="text/css">
        .uploadifyQueueItem
        {
            width: 155px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p class="usertitle">
        发布你的作品
    </p>
    <div class="serviceaddbar">
        <p>
            服务标题：
            <asp:Label ID="lbServiceTitle" Text="" runat="server" />
        </p>
        <p>
            服务类别：
            <asp:Label ID="lbServiceCategory" Text="" runat="server" />
        </p>
        <p class="fl shareadd">
            详细</p>
        <p>
            <asp:TextBox ID="txtDescription" Rows="4" Columns="40" TextMode="MultiLine" runat="server"
                MaxLength="500" CssClass="sharetextarea" />
        </p>
        <div class="addupload">
            <p class="uploadimg noborder" id="img">
                图片</p>
            <p class="uploadvideo" id="video">
                视频</p>
            <p class="icon_audio" id="video">
                音频</p>
        </div>
        <asp:HiddenField ID="hfAspSessID" runat="server" />
        <asp:HiddenField ID="hfAuth" runat="server" />
        <asp:HiddenField ID="hfadddate" runat="server" />
        <%-- 上传图片--%>
        <div class="uploadimgbar uploadimgwid addimg">
            <p class="uploadicon">
                <img src="/!images/icon_top.png" /></p>
            <div class="uploadimgcon">
                <p class="requiredclose">
                    <img src="/!images/icondel_off.gif" id="img1" onmouseover="MM_swapImage('img1','','/!images/icondel_on.gif',31)"
                        onmouseout="MM_swapImgRestore()" /></p>
                <div class="btn_uploadimg">
                    <div class="uploadswf">
                        <input type="file" name="uploadify" id="uploadify" />
                    </div>
                    <asp:HiddenField ID="hfpath" runat="server" />
                    <div class="clear">
                    </div>
                    <div id="showQueue">
                    </div>
                    <div id="fileQueue" class="required_info">
                        <p>
                            图片不能小于75X75PX</p>
                    </div>
                    <p class="clear">
                    </p>
                </div>
            </div>
        </div>
        <%-- 上传视频--%>
        <div class="uploadimgbar uploadimgwid addvideo">
            <p class="uploadicon">
                <img src="/!images/icon_top.png" /></p>
            <div class="uploadimgcon">
                <p class="requiredclose">
                    <img src="/!images/icondel_off.gif" id="img2" onmouseover="MM_swapImage('img2','','/!images/icondel_on.gif',31)"
                        onmouseout="MM_swapImgRestore()" /></p>
                <div class="btn_uploadimg">
                    <div class="uploadswf">
                        <input type="file" name="uploadify" id="videouploadify" />
                    </div>
                    <asp:HiddenField ID="hfvideopath" runat="server" />
                    <div class="clear">
                    </div>
                    <div id="videoQueue" class="required_info">
                        <p>
                            请选择不大于200M的avi,mov,mpg,mp4,flv文件</p>
                    </div>
                    <div id="Div2">
                    </div>
                    <p class="clear">
                    </p>
                </div>
            </div>
        </div>
        <p class="btn_serviceadd">
            <asp:Label ID="lbMessage" class="error" Text="" runat="server" />
            <asp:ImageButton ImageUrl="/!images/btn_saveoff.jpg" runat="server" OnClick="btnShare_Click" ID="ibtnSubmit"
                onmouseover="MM_swapImage('ibtnSubmit','','/!images/btn_saveon.jpg',5)" onmouseout="MM_swapImgRestore()"
                alt="保存" onfocus="MM_swapImage('ibtnSubmit','','/!images/btn_saveon.jpg',5)" />
        </p>
    </div>
    <script type="text/javascript">
        $('.uploadimgbar').hide();
        $('.addupload').find('p').click(function () {
            var id = this.id;
            $('.add' + id).toggle();
            var offset = $(this).offset();
            $('.add' + this.id).offset({ left: offset.left - 5, top: offset.top + 27 });
        });
    </script>
</asp:Content>
